<template>
  <el-card shadow="always">
    <div class="chart-title">
      <slot name="chart-title"></slot>
    </div>
    <div class="chart-number">
      <slot name="chart-number"></slot>
    </div>
    <div class="charts">
      <slot name="charts"></slot>
    </div>
    <div class="chart-footer">
      <slot name="chart-footer"></slot>
    </div>
  </el-card>
</template>

<script setup lang="ts">
</script>

<style scoped>
.chart-title {
  font-size: 10px;
  color: #bbb;
}
.chart-number {
  font-size: 24px;
  margin: 3px 0;
}
.charts {
  width: 100%;
  height: 80px;
}
.chart-footer {
  font-size: 10px;
  color: #012;
  border-top: 2px solid #bbb;
  padding: 10px 0;
}
</style>